# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=ycrawler
pkgver=0.1
pkgrel=9
groups=('blackarch' 'blackarch-webapp' 'blackarch-scanner' 'blackarch-proxy')
pkgdesc='A web crawler that is useful for grabbing all user supplied input related to a given website and will save the output. It has proxy and log file support.'
arch=('any')
url='http://packetstormsecurity.com/files/98546/yCrawler-Web-Crawling-Utility.html'
license=('GPL2')
depends=('perl' 'perl-libwww' 'perl-io-socket')
source=('https://dl.packetstormsecurity.net/UNIX/scanners/yCrawler.tar.gz')
sha512sums=('650e4b2fdbd953c6fdc142d988ea3766a59ac5e7242cbe9399dcd565a400ddbc68942e13a6ae207f51c98e2a741ff64ae514e7aece42f263dc655876ef9fe27b')

package() {
  cd yCrawler

  install -Dm 755 yCrawler.txt "$pkgdir/usr/bin/$pkgname"
  install -Dm 644 -t "$pkgdir/usr/share/doc/$pkgname/" README
}

